package com.gxa.p2p.mapper;

import com.gxa.p2p.pojo.Outrecord;
import com.gxa.p2p.pojo.Rechargerecord;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

public interface RechargerecordMapper {
    List<Rechargerecord> findRechargelogByPage(Long id, String investPhone, String rechargeType
            ,Boolean state,Timestamp from,Timestamp to,Integer page,Integer size);
    List<Outrecord> findWithdrawlogByPage(Long id,String userPhone,String userName,String bankId,String bankName
    ,String state,Timestamp from,Timestamp to,Integer page,Integer size);
    List<Rechargerecord> selectAll();
    List<Rechargerecord> selectByWork(Long id, String investPhone, String rechargeType
            ,Boolean state,Timestamp from,Timestamp to);
    //导出提现记录需要的查询方法
    List<Outrecord> selectByWork1(Long id,String userPhone,String userName,String bankId,String bankName
            ,String state,Timestamp from,Timestamp to);


}
